package com.uubx.service.impl;

import com.uubx.mapper.EmployeeMapper;
import com.uubx.pojo.Employee;
import com.uubx.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wyy
 * @Date 2020/12/25 23:47
 * @Version 1.0
 */
@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public Employee findEmployeeById(Long id) {
        Employee employee = employeeMapper.selectByPrimaryKey(id);


        return employee;
    }
}
